package com.framework.loippi.entity;

import com.framework.loippi.mybatis.eitity.GenericEntity;
import com.framework.loippi.mybatis.ext.annotation.Column;
import com.framework.loippi.mybatis.ext.annotation.Table;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Entity - 咨询记录表
 * 
 * @author wmj
 * @version 2.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_ASK_INFO")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" }) 
@ApiModel(value="咨询记录表",description="咨询记录表")
public class AskInfo implements GenericEntity {

	private static final long serialVersionUID = 5081846432919091193L;

	/** 主键 */
	@Column(id = true, name = "id", updatable = false)
	@ApiModelProperty(value = "主键")
	private Long id;
	
	/** 咨询人id */
	@Column(name = "asker_id" )
	@ApiModelProperty(value = "咨询人id")
	private Long askerId;
	
	/** 医生id */
	@Column(name = "doctor_id" )
	@ApiModelProperty(value = "医生id")
	private Long doctorId;
	
	/** 名称 */
	@Column(name = "ask_name" )
	@ApiModelProperty(value = "名称")
	private String askName;
	
	/** 描述 */
	@Column(name = "description" )
	@ApiModelProperty(value = "描述")
	private String description;
	
	/** 创建者(消息发送者) */
	@Column(name = "creator" )
	@ApiModelProperty(value = "创建者(消息发送者)")
	private Long creator;
	
	/** 创建时间 */
	@Column(name = "create_date" )
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createDate;
	
}
